import {Router, createRouter,createWebHashHistory} from 'vue-router' 
import { routes } from './router'

// 传入当前router
export function resetRouter (router:Router) {
    router.removeRoute('main')
  
}